package com.qf.mapper;

import com.qf.entity.CustomerEntity;
import com.qf.pojo.CustomerPojo;
import org.apache.ibatis.annotations.Param;

public interface CustomerMapper {

    public CustomerPojo login(@Param("cname")String cname,@Param("cpass") String cpass);

    public boolean updateMoney(@Param("aid") String aid, @Param("money") int money);

    public boolean register(CustomerEntity ce);

    public CustomerPojo selectCustomer(@Param("cid") Integer cid);

}
